package com.tanhua.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

/**
*@author  Apollo
*@createTime  2021/11/7 10:50
*@Description 大数据动态评分实体类
**/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Document("recomment_movement_score")
public class MovementScore {

    private ObjectId id;
    /**
     *      用户id
     */
    private Long userId;
    /**
     * 动态id，需要转化为Long类型
     */
    private Long movementId;
    /**
     * 得分
     */
    private Double score;
    /**
     * 时间戳
     */
    private Long date;
}
